﻿using System;
using System.Diagnostics.Contracts;

namespace Windows.Toolkit
{
    [ContractClassFor(typeof(IDialogService))]
    sealed class IDialogServiceContract : IDialogService
    {
        FileDialogResult IDialogService.ShowOpenFileDialog(FileDialogParameters parameters)
        {
            Contract.Requires<ArgumentNullException>(parameters != null, "FileDialogParamters cannot be null.");
            return null;
        }

        FileDialogResult IDialogService.ShowSaveFileDialog(FileDialogParameters parameters)
        {
            Contract.Requires<ArgumentNullException>(parameters != null, "FileDialogParamters cannot be null.");
            return null;
        }
    }
}
